home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / Other Stuff / Demos ƒ / TOPS SoftTalk Package / STClient ƒ / STClient.h < prev   
Encoding:
C/C++ Source or Header  |  1989-09-06  |  2.6 KB  |  92 lines  |  [TEXT/MPS ]

  1. /*
  2. ------------------------------------------------------------------------------
  3. |    Sun Microsystems, TOPS Division
  4. |    950 Marina Village Parkway
  5. |    P.O. Box 4016
  6. |    Alameda, CA 94501
  7. |    
  8. |    Copyright (c) 1989 Sun Microsystems, Inc. All rights reserved.
  9. |    
  10. |    Sun considers its source code as an unpublished, proprietary trade secret,
  11. |    and it is available only under strict license provisions. This copyright
  12. |    notice is placed here only to protect Sun in the event the source is deemed
  13. |    a published work. Disassembly, decompilation, or other means of reducing the
  14. |    object code to human readable form is prohibited by the license agreement
  15. |    under which this code is provided to the user or company in possession of
  16. |    this copy.
  17. |    
  18. |    RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the Government
  19. |    is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the
  20. |    Rights in Technical Data and Computer Software clause at DFARS 52.227-7013
  21. |    and in similar clauses in the FAR and NASA FAR supplement.
  22. ------------------------------------------------------------------------------
  23. */
  24.  
  25.  
  26.  
  27. /*
  28. ================================================================================
  29. **
  30. **    Project:    SoftTalk
  31. **
  32. **    File:        STClient.h
  33. **
  34. **    Purpose:
  35. **        Provide the interface to the sample SoftTalk client.
  36. **        Call the routines STClientCreate(), and STClientDispose()
  37. **        to create/dispose the client.  Call the other routines to execute RPC calls
  38. **        to the sample server.
  39. **
  40. **    ----------------------------------------------------------------------------
  41. **
  42. **    Version        Date        Author        Description
  43. **    -------        ----        ------        -----------
  44. **    1.0.1        17-Aug-89     MAC            First draft.
  45. **
  46. ================================================================================
  47. */
  48.  
  49. #ifndef __STClient__
  50. #define __STClient__
  51.  
  52.  
  53.  
  54. /*
  55. **    ----------------------------------------------------------------------------
  56. **        INCLUDES
  57. **    ----------------------------------------------------------------------------
  58. */
  59.  
  60. #include "StdHdr.h"
  61. #include "SoftTalk.h"
  62. #include <MacTypes.h>
  63.  
  64.  
  65.  
  66. /*
  67. **    ----------------------------------------------------------------------------
  68. **        CONST
  69. **    ----------------------------------------------------------------------------
  70. */
  71. #define    kENoServerFound (-1)
  72.  
  73.  
  74.  
  75. /*
  76. **    ----------------------------------------------------------------------------
  77. **        FUNCTIONS
  78. **    ----------------------------------------------------------------------------
  79. */
  80.  
  81. INT32 STClientCreate(void);
  82. STResult STClientDispose(void);
  83.     
  84. /* stub routines */
  85. INT32 Func1(void);
  86. INT32 Func2(INT32 arg1);
  87. INT32 Func3(INT32 arg1, INT16 arg2);
  88. INT32 Func4(char* arg1);    
  89. INT32 Func5(Str255 pString);    
  90.  
  91.  
  92. #endif